package com.assignwork.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName VoyageVisaSubmitDTO
 * @Description 船舶签证提交DTO
 * @Author dujianyu
 * @Date 2023/8/23 9:45
 */
@Data
public class VoyageVisaSubmitDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "代理公司")
    private String agencyCo;

    @ApiModelProperty(value = "进出口")
    private String impExp;

    @ApiModelProperty(value = "货名")
    private String cargoNameKey;

    @ApiModelProperty(value = "别名")
    private String reCargoNameKey;

    @ApiModelProperty(value = "散杂")
    private String packageBulkKey;

    @ApiModelProperty(value = "总吨")
    private BigDecimal totalTon;

    @ApiModelProperty(value = "签证吨")
    private BigDecimal visaTon;

    @ApiModelProperty(value = "备注")
    private String remark;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

}
